package com.zzyl.serve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.serve.domain.NursingElder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
*TODO
*@Date 2025/10/30 20:40
*/
@Mapper
public interface NursingElderMapper extends BaseMapper<NursingElder> {

    /**
     * 查询当前护理员负责的所有老人ID
     * @param userId
     * @return
     */
    List<Long> getElderIdByUserId(Long userId);
}